package insight.sm.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;

@Entity(name="tbl_equipment") 
public class Equipment {
	@Column(name="id",insertable=false, unique=true)
	private int equipmentId;
	private String externalId;
	private String equipmentName;
	private String description;
	private String equipmentStatus;
	
	public int getEquipmentId() {
		return equipmentId;
	}
	public void setEquipmentId(int equipmentId) {
		this.equipmentId = equipmentId;
	}
	public String getExternalId() {
		return externalId;
	}
	public void setExternalId(String externalId) {
		this.externalId = externalId;
	}
	public String getEquipmentName() {
		return equipmentName;
	}
	public void setEquipmentName(String equipmentName) {
		this.equipmentName = equipmentName;
	}
	public String getEquipmentStatus() {
		return equipmentStatus;
	}
	public void setEquipmentStatus(String equipmentStatus) {
		this.equipmentStatus = equipmentStatus;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	@Override
	public String toString() {
		return "Equipment [equipmentId=" + equipmentId + ", externalId="
				+ externalId + ", equipmentName=" + equipmentName
				+ ", description=" + description + ", equipmentStatus="
				+ equipmentStatus + "]";
	}
	
}
